package com.marry.daodao.authserver.infrastructure.dao.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * @author mal
 * @date 2022-11-15 13:59
 */
@Getter
@Setter
@TableName("ml_user_role")
public class MlUserRole {
    private Long id;
    private Long userId;
    private String roleId;
    @TableField(fill = FieldFill.INSERT)
    private String state;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    private Long createBy;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    private Long updateBy;
}
